package com.zhuoyue.biz.core.api.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhuoyue.biz.core.api.domain.base.BaseDoClass;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author wjming
 * @ClassName: LocalSceneInfraredDeviceRelation
 * @Description: 场景与红外设备之间的关系信息
 * @Date 2021-07-08 13:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "`tbl_local_scene_infrared_device_relation`")
public class LocalSceneInfraredDeviceRelation extends BaseDoClass implements Serializable {
    public static final String COL_ID = "id";
    public static final String COL_SCENE_ID = "scene_id";
    public static final String COL_INFRARED_ID = "infrared_id";
    public static final String COL_CHILD_EXECUTE_DEVICES = "child_execute_devices";
    public static final String COL_IDENTIFY = "identify";
    public static final String COL_IMG_NAME = "img_name";
    public static final String COL_PURPOSE = "purpose";
    public static final String COL_STATE = "state";
    public static final String COL_STATE_DES = "state_des";
    public static final String COL_CONTROL_PARAM = "control_param";
    public static final String COL_SORT = "sort";
    public static final String COL_CMD = "cmd";
    public static final String COL_CREATE_TIME = "create_time";
    public static final String COL_MODIFY_TIME = "modify_time";
    /**
     * 场景ID
     */
    @TableField(value = "`scene_id`")
    private String sceneId;

    /**
     * 红外ID
     */
    @TableField(value = "`infrared_id`")
    private String infraredId;

    /**
     * 子执行设备信息
     */
    @TableField(value = "`child_execute_devices`")
    private String childExecuteDevices;

    @TableField(value = "`identify`")
    private String identify;

    @TableField(value = "`img_name`")
    private String imgName;

    @TableField(value = "`purpose`")
    private String purpose;

    @TableField(value = "`state`")

    private Integer state;

    @TableField(value = "`state_des`")
    private String stateDes;

    @TableField(value = "`control_param`")
    private String controlParam;

    /**
     * 延时时间(分)
     */
    @TableField(value = "`deley_time_minute`")
    private String deleyTimeMinute;

    /**
     * 延时时间(秒)
     */
    @TableField(value = "`deley_time_second`")
    private String deleyTimeSecond;

    @TableField(value = "`sort`")
    private Integer sort;

    @TableField(value = "`cmd`")
    private String cmd;

    private static final long serialVersionUID = 1L;
}